package com.tanjie.blackbean.system.admin.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.tanjie.blackbean.mybatis.query.PageParam;
import com.tanjie.blackbean.system.admin.model.role.*;

import java.util.List;

/**
 * 角色表
 *
 * @author tanjie
 * @since 2022-04-20
 */
public interface IRoleService {

    void create(RoleDTO dto);

    void update(RoleDTO dto);

    void delete(String id);

    RoleVO detail(String id);

    RolePO getByIdThr(String id);

    List<RoleVO> queryList(RoleQuery dto);

    IPage<RoleVO> queryPage(RoleQuery dto, PageParam pageParam);

    void bindMenuPermission(RoleBindMenuPermissionDTO dto);

    List<RoleVO> getOrgRoleList();


}